package com.es.mapper;

import com.es.entity.SysRole;
import com.es.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 描述:
 * MyBatis-
 *
 * @author Derek
 * 创建时间：2022-05-10 10:08
 */
public interface SysUserMapper {
    int insert(SysUser sysUser);
    SysUser get(@Param("id") Integer id);
    List<SysUser> list();
    int insertUserRoles(SysUser sysUser);
    int deleteUserRole(Integer id);
}
